/*
 * Defs.h
 *
 *  Created on: 24.03.2009
 *      Author: Konan Andrej
 */

#ifndef DEFS_H_
#define DEFS_H_

#include <QStringList>

const int ok		= 0;
const int find_error 	= 1;
const int read_error 	= 2;
const int write_error 	= 3;
const int range_error 	= 4;
const int dup_error		= 5;

const int message		= 1;
const int warning		= 2;
const int ask                   = 3;

const QStringList Formats( QStringList() << QObject::tr("m") << QObject::tr("m2") << QObject::tr("it") );

//Table geometry
const int CellSpace     = 20;
const int CellK         = 7;
const int MarginSpace   = 20;

//Main Window buttons
const int addItem       = 31;   // 3rd tab 1st button
const int editItem      = 33;   // ...

#endif /* DEFS_H_ */
